# -*- coding: utf-8 -*-
'''
Class CSVw - write in Rebides.csv file in folder CSV
Classe CSVw - escreve no arquivo Rebides.csv na pasta CSV
@author - David Guerreiro - Nº4903
data: 17- JUL -2011
'''
import csv

class CSVw:

    def writeCsv(self, data):
        self.d = data
        auxfile = open('./CVS/Rebides.csv',"a")
        csvwriter = csv.writer( auxfile, delimiter=',')

        csvwriter.writerow(self.d)

        auxfile.close()

pass
